package cn.anecansaitin.whimsy.client.registers;

import cn.anecansaitin.whimsy.Whimsy;
import cn.anecansaitin.whimsy.client.entity.render.*;
import cn.anecansaitin.whimsy.common.register.ModEntities;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.client.event.EntityRenderersEvent;

@Mod.EventBusSubscriber(modid = Whimsy.MODID, value = Dist.CLIENT, bus = Mod.EventBusSubscriber.Bus.MOD)
public class ModEntityRenders {
    @SubscribeEvent
    public static void renders(EntityRenderersEvent.RegisterRenderers event) {
        event.registerEntityRenderer(ModEntities.DIORITE_MISSILE.get(), DioriteMissileRender::new);
        event.registerEntityRenderer(ModEntities.WEAPON_SWING_COLLISION.get(), WeaponSwingCollisionRender::new);
        event.registerEntityRenderer(ModEntities.STONE_SPIKE.get(), StoneSpikeRender::new);
        event.registerEntityRenderer(ModEntities.PHANTASM_ARROW.get(), PhantasmArrowRender::new);
        event.registerEntityRenderer(ModEntities.LIGHT_BULLET.get(), LightBulletRender::new);
        event.registerEntityRenderer(ModEntities.SEISMIC_SLAM_WAVE.get(), SeismicSlamWaveRender::new);
    }
}
